package com.yonyougov.devops.cruxcisupport.attachment;

import com.yonyougov.devops.cruxcisupport.util.CruxDevOpsIdGenerator;
import com.yonyougov.devops.fwc.core.entity.BasicEntity;
import com.yonyougov.devops.fwc.core.id.IdGenerator;
import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

/***
 * t_attachment
 */
@Data
public class AttachmentEntity extends BasicEntity implements Serializable {

    /***
     * 主键
     */
    private BigInteger id;

    /***
     * 附件路径
     */
    private String attachmentUrl;

    /***
     * 提测追踪表Id
     */
    private BigInteger tranceId;

    /***
     * 提交附件用户Id
     */
    private BigInteger userId;

    /***
     * 上传附件时间
     */
    private Date createTime;


    //<!--用户自定义代码开始-->
    public IdGenerator idGenerator() {
        return new CruxDevOpsIdGenerator();
    }
    //<!--用户自定义代码结束-->
}
